package com.study.customQuartz;

import org.springframework.stereotype.Component;

@Component("myTask")
public class MyTask {

	
	public void test() {
		System.out.println("执行无参数方法");
	}
	
	public void testParam(String param) {
		System.out.println("执行有参数方法:" + param);
	}
}
